package com.liu.oa.department.entity;

import javax.persistence.Table;

import org.springframework.context.annotation.Scope;

/**
 *  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `DEPARTMENT_NAME` varchar(255) DEFAULT NULL,
  `DEPARTMENT_LOCATION` varchar(255) DEFAULT NULL,
  `DEPARTMENT_TEL` varchar(11) DEFAULT NULL,
  `DEPARTMENT_COUNTER` int(11) DEFAULT NULL,
 * @author My
 *
 */
@Scope("prototype")
@Table(name="oa_department_t")
public class Department {
	
	private Integer id;
	
	private String departmentName;
	private String departmentLocation;
	private String departmentTel;
	private String departmentCounter;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String getDepartmentLocation() {
		return departmentLocation;
	}
	public void setDepartmentLocation(String departmentLocation) {
		this.departmentLocation = departmentLocation;
	}
	public String getDepartmentTel() {
		return departmentTel;
	}
	public void setDepartmentTel(String departmentTel) {
		this.departmentTel = departmentTel;
	}
	public String getDepartmentCounter() {
		return departmentCounter;
	}
	public void setDepartmentCounter(String departmentCounter) {
		this.departmentCounter = departmentCounter;
	}
	@Override
	public String toString() {
		return "Department [id=" + id + ", departmentName=" + departmentName + ", departmentLocation="
				+ departmentLocation + ", departmentTel=" + departmentTel + ", departmentCounter=" + departmentCounter
				+ "]";
	}
	
	

}
